//中间部分

//种类列表
html, div {
    font-size: 100%;
}
div {
    display: block;
}
.content-box {
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}
.home-menu {
    width: 1124px;
    margin: 26px auto 0;
    overflow: hidden;
    padding-top: 0;
}
.home-menu a {
    width: 200px;
    height: 100px;
    display: block;
    float: left;
    margin: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.06);
    overflow: hidden;
}
.home-menu img {
    display: block;
    width: 200px;
    height: 100px;
    background: #fafafa;
    // background: #fafafa url(/themes/site/img/list-img.png) center no-repeat;
    background-size: auto 100%;
    opacity: 0.9;
}
img, a {
    border: none;
    margin: 0px;
    padding: 0px;
}

//新品专区
.home-colorful {
    margin-top: 5px;
    padding-top: 50px;
}
.home-module-title {
    font-size: 26px;
    color: #724228;
    line-height: 36px;
    width: 1100px;
    margin: 0 auto 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}
.home-module-title span {
    font-size: 14px;
    color: #8E5D43;
    display: inline-block;
    margin-left: 6px;
}
.home-colorful .colorful-top-banner {
    width: 1100px;
    height: 250px;
    margin: 0 auto;
    margin-top: -100px;
    padding-top: 100px;
}
.home-colorful .color-product-list {
    position: relative;
}
.home-colorful .color-product-list {
    position: relative;
}
.home-colorful .color-product-list .list-box {
    height: 365px;
}
.home-colorful .list-box {
    width: 1116px;
    overflow: hidden;
    margin: 20px auto 0;
    position: relative;
}
.home-colorful .list-box ul {
    margin: 0;
    padding-left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.home-colorful .color-product-list .list-box li {
    position: relative;
    height: 365px;
    float: left;
    width: 263px;
    margin: 0 8px;
    text-align: -webkit-match-parent;
}
.home-colorful .list-box li img {
    width: 263px;
    height: 230px;
    background: #fafafa;
    // background: #fafafa url(/themes/site/img/list-img.png) center no-repeat;
    background-size: auto 100%;
    display: block;
    margin: auto;
    border-radius: 8px;
} 
.home-colorful .list-box li h6 {
    font-size: 16px;
    margin-top: 10px;
    line-height: 22px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: normal;
}
h6 {
    display: block;
    margin-block-start: 2.33em;
    margin-block-end: 2.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.home-colorful .list-box li p {
    font-size: 14px;
    color: #616161;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-colorful .list-box li .tag-list {
    font-size: 0;
    width: 263px;
    height: 35px;
    overflow: hidden;
}
.home-colorful .list-box li .tag-list a {
    display: inline-block;
    border: 1px solid #D5BFA7;
    border-radius: 100px;
    padding: 0 6px 0 8px;
    color: #D5BFA7;
    margin: 8px 3px;
    font-size: 12px;
}
.home-colorful .list-box li .cart-info {
    border-top: 1px dashed #D5BFA7;
    height: 37px;
    color: #b0986f;
    margin-top: 6px;
    padding-top: 14px;
    -webkit-font-smoothing: antialiased;
}
.home-colorful .list-box li .spec {
    display: inline-block;
    line-height: 20px;
    color: #BB9772;
    font-size: 14px;
}
.home-colorful .list-box li .add-cart {
    float: right;   
    line-height: 20px;
    font-size: 12px;
    background: #643E28;
    color: #fff;
    padding: 0 10px;
}

//点击加入购物车后，改变的样式
.home-colorful .color-product-list .list-box li .spec-detail, 
.home-colorful .color-product-list .list-box li .addcart-success {
    position: absolute;
    box-sizing: border-box;
    padding: 12px;
    background: #FAFAFA;
    width: 100%;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 1001;
}
.home-colorful .color-product-list .list-box li .spec-detail .spec-title {
    font-size: 16px;
    color: #684029;
}
.home-colorful .color-product-list .list-box li .spec-detail .spec-info {
    padding: 10px 0;
}
.home-colorful .color-product-list .list-box li .spec-detail .spec-info a {
    display: inline-block;
    box-sizing: border-box;
    font-size: 12px;
    color: #7A5844;
    border: 1px solid #D0C3BB;
    padding: 6px 12px;
    margin: 2px;
    position: relative;
}
.home-colorful .color-product-list .list-box li .spec-detail .spec-info a.active {
    border: 1px solid #684029;
    color: #684029;
}
.home-colorful .color-product-list .list-box li .spec-detail .spec-info a.active i {
    display: block;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 0;
    left: 0;
    // background: url(/themes/site/img/icon.png) no-repeat;
    background-position: 0px -40px;
    background-size: 310px 120px;
}
.home-colorful .color-product-list .list-box li .spec-detail .buttons {
    color: #684029;
}
.buttons:before {
    content: ' ';
    display: table;
}
.buttons:after {
    clear: both;
}
.buttons:after {
    content: ' ';
    display: table;
}

//按钮设置，左为立即购买按钮，右为加入购物车按钮
.home-colorful .home-button {
    width: 46px;
    height: 46px;
    position: absolute;
    top: 92px;
    left: 50%;
    display: none;
    background-repeat: no-repeat;
    background-position: center;
}
.home-colorful .home-left-button {
    margin-left: -618px;
    // background-image: url(/themes/site/img/home-dis-left.jpg);
    opacity: 0.3;
    cursor: default;
}
.home-colorful .home-right-button {
    margin-left: 572px;
    // background-image: url(/themes/site/img/home-button.jpg);
}

//加入购物车成功后
.home-colorful .color-product-list .list-box li .addcart-success {
    z-index: 1002;
    position: absolute;
    box-sizing: border-box;
    padding: 12px;
    background: #FAFAFA;
    width: 100%;
    bottom: 0;
    left: 0;
}
.home-colorful .color-product-list .list-box li .addcart-success p {
    text-align: center;
    font-size: 14px;
    color: #B08C7E;
    line-height: 25px;
    padding: 26px 0 15px;
}
.home-colorful .color-product-list .list-box li .addcart-success p i {
    display: inline-block;
    height: 25px;
    width: 25px;
    vertical-align: middle;
    // background: url(/themes/site/img/icon.png) no-repeat;
    background-position: -266px -40px;
    background-size: 310px 120px;
    margin-right: 6px;
}
.home-colorful .color-product-list .list-box li .addcart-success .button {
    background: #684029;
    color: #fff;
    font-size: 13px;
    height: 30px;
    width: 148px;
    display: block;
    line-height: 30px;
    text-align: center;
    margin: 2px auto 14px;
}

//活动门
.home-s_activity {
    padding-top: 60px;
}
.home-s_activity-content {
    width: 1116px;
    margin: 0 auto;
    overflow: hidden;
    padding: 6px 0;
}
.home-s_activity-content li {
    float: left;
    background: #fff;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
    border-radius: 8px;
    overflow: hidden;
    width: 542px;
    margin: 0 8px;
}
.home-s_activity-content li img {
    width: 542px;
    // background: #fafafa url(/themes/site/img/list-img.png) center no-repeat;
    background-size: auto 100%;
    display: block;
}

//廿一客/文章
.home-module:last-child {
    margin-bottom: 100px;
}
.home-magazine {
    padding-top: 60px;
}
.home-magazine .home-module-title a {
    font-size: 13px;
    color: #8E5D43;
    float: right;
}
.home-magazine-content {
    width: 1116px;
    margin: 0 auto;
    overflow: hidden;
    padding: 6px 0;
}
.home-magazine-content li {
    float: left;
    background: #fff;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
    border-radius: 8px;
    overflow: hidden;
    width: 542px;
    height: 345px;
    margin: 0 8px;
}
.home-magazine-content li img {
    width: 542px;
    height: 252px;
    // background: #fafafa url(/themes/site/img/list-img.png) center no-repeat;
    background-size: auto 100%;
}
.home-magazine-content li h4 {
    font-size: 24px;
    color: #000;
    margin-top: 14px;
    padding: 0 16px;
}
.home-magazine-content li p {
    height: 44px;
    font-size: 14px;
    color: #242424;
    padding: 0 16px;
    line-height: 22px;
}
.home-magazine-content li p span:first-child {
    display: inline-block;
    width: 400px;
    padding-right: 30px;
    vertical-align: middle;
}
.home-magazine-content li p span:last-child {
    color: #AD814B;
    display: inline-block;
}

